package com.greenleaf.entity;

import org.springframework.stereotype.Component;
/**
 * 首页推荐表
 * */
@Component
public class Recommend {
private Integer rcmId;//编号
private String rcmImg;//商品图片
private Integer pdtId;//商品id
public Integer getRcmId() {
	return rcmId;
}
public void setRcmId(Integer rcmId) {
	this.rcmId = rcmId;
}
public String getRcmImg() {
	return rcmImg;
}
public void setRcmImg(String rcmImg) {
	this.rcmImg = rcmImg;
}
public Integer getPdtId() {
	return pdtId;
}
public void setPdtId(Integer pdtId) {
	this.pdtId = pdtId;
}
public Recommend(Integer rcmId, String rcmImg, Integer pdtId) {
	super();
	this.rcmId = rcmId;
	this.rcmImg = rcmImg;
	this.pdtId = pdtId;
}
public Recommend() {
	super();
	// TODO Auto-generated constructor stub
}
@Override
public String toString() {
	return "Recommend [rcmId=" + rcmId + ", rcmImg=" + rcmImg + ", pdtId=" + pdtId + "]";
}

}
